* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-main {
    min-height: 100vh;
}

/* -------------------------- HERO SECTION -------------------------- */


.about-hero {
    width: 100%;
    padding: 100px 40px 80px;
    position: relative;
    background-color: #f7fdff;
    overflow: hidden;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../resources/ui/patterns/pattern_pigeons_black.png');
    background-size: 1200px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f7fdff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 0 0 50px rgba(247, 253, 255, 0.8),
        0 0 0 100px rgba(247, 253, 255, 0.6),
        0 0 0 150px rgba(247, 253, 255, 0.4),
        0 0 0 200px rgba(247, 253, 255, 0.2),
        0 0 0 250px rgba(247, 253, 255, 0.1);
}

.hero-decoration {
    height: 120px;
    width: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-hero h1 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 64px;
    color: #006ad5;
    letter-spacing: 2px;
}

.about-hero p {
    font-size: 20px;
    color: #333333;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
}

/* -------------------------- STORY TIMELINE -------------------------- */
.story-section {
    width: 100%;
    margin: 100px auto 100px;
    justify-items: center;
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    pointer-events: none;
}

.story-container {
    max-width: 1000px;
    padding: 40px 40px 40px;
    position: relative;
}

.story-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.5) 10%,
        rgba(255, 255, 255, 0.5) 90%,
        transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: pulseTimeline 3s ease-in-out infinite;
}

@keyframes pulseTimeline {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.story-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.story-item:nth-child(1) { animation-delay: 0.1s; }
.story-item:nth-child(2) { animation-delay: 0.2s; }
.story-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-item:nth-child(odd) .story-year {
    grid-column: 1;
    text-align: right;
}

.story-item:nth-child(odd) .story-content {
    grid-column: 2;
    text-align: left;
}

.story-item:nth-child(even) .story-year {
    grid-column: 2;
    text-align: left;
}

.story-item:nth-child(even) .story-content {
    grid-column: 1;
    text-align: right;
}

.story-year {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 64px;
    color: white;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2);
    position: relative;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.3),
            0 0 60px rgba(255, 255, 255, 0.4);
    }
}

.story-item:nth-child(even) .story-year {
    justify-content: flex-start;
}

.story-year::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 0 0 8px #0280ff,
        0 0 0 14px rgba(255, 255, 255, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 255, 255, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 0 8px #0280ff,
            0 0 0 14px rgba(255, 255, 255, 0.4),
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(255, 255, 255, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 
            0 0 0 8px #0280ff,
            0 0 0 18px rgba(255, 255, 255, 0.5),
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(255, 255, 255, 0.8);
    }
}

.story-item:nth-child(odd) .story-year::after {
    right: -44px;
}

.story-item:nth-child(even) .story-year::after {
    left: -44px;
}

.story-content {
    background: white;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.story-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
}

.story-content:hover::before {
    left: 100%;
}

.story-content:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(2, 128, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.story-content h3 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 32px;
    background: #0280ff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
}

.story-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* -------------------------- ACHIEVEMENTS -------------------------- */
.achievements-section {
    width: 100%;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-title {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 56px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 20px;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.achievements-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px 80px;
    position: relative;
    z-index: 1;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
}

.achievement-icon {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.achievement-info {
    text-align: center;
    max-width: 200px;
}

.achievement-card h3 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 22px;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.achievement-year {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.achievement-card p:last-child {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* -------------------------- TEAM SECTION -------------------------- */
.team-section {
    width: 100%;
    padding: 100px 40px;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.team-image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #60afff 0%, #0280ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.team-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.15) rotate(5deg);
}

.team-placeholder {
    font-size: 120px;
    color: white;
    font-weight: 700;
    font-family: 'Lilita One', 'Times New Roman';
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.team-info {
    padding: 30px;
}

.team-role {
    font-size: 14px;
    font-weight: 600;
    color: #0280ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.team-name {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
}

.team-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.team-card-empty {
    border: 3px dashed rgba(2, 128, 255, 0.3);
    background: rgba(255, 255, 255, 0.5);
}

.team-card-empty:hover {
    border-color: rgba(2, 128, 255, 0.6);
    background: rgba(255, 255, 255, 0.7);
}

/* -------------------------- RESPONSIVE -------------------------- */
@media (max-width: 968px) {
     .about-hero {
        padding: 80px 30px 60px;
    }
    
    .about-hero h1 {
        font-size: 52px;
    }
    
    .about-hero p {
        font-size: 18px;
    }
    
    .story-container::before {
        left: 30px;
    }
    
    .story-item {
        grid-template-columns: 80px 1fr;
        gap: 30px;
    }
    
    .story-item:nth-child(odd) .story-year,
    .story-item:nth-child(even) .story-year {
        grid-column: 1;
        text-align: left;
        font-size: 48px;
        justify-content: flex-start;
    }
    
    .story-item:nth-child(odd) .story-content,
    .story-item:nth-child(even) .story-content {
        grid-column: 2;
        text-align: left;
    }
    
    .story-year::after {
        right: auto !important;
        left: -37px !important;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 60px 20px 50px;
    }
    
    .about-hero h1 {
        font-size: 42px;
    }
    
    .about-hero p {
        font-size: 16px;
    }
    
    .hero-logo {
        height: 100px;
    }
    
    .story-section,
    .achievements-section,
    .team-section,
    .faq-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .section-subtitle {
        font-size: 16px;
        width: 70%;
    }
    
    .story-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .story-year {
        font-size: 36px;
    }
    
    .story-content {
        padding: 20px 25px;
    }
    
    .story-content h3 {
        font-size: 24px;
    }
    
    .story-content p {
        font-size: 16px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 25px 25px;
    }
    
    .faq-question {
        font-size: 20px;
    }
    
    .faq-answer {
        font-size: 16px;
    }
}

@media (max-width: 400px){
    .about-hero::after{
        background-size: 600px;
    }


    .about-hero h1{
        font-size: 30px;
    }


    .about-hero p {
        font-size: 13px;
    }
    .about-hero-content{
        width: 60%;
        gap:20px;
        box-shadow: 
            0 0 0 10px rgba(247, 253, 255, 0.8),
            0 0 0 20px rgba(247, 253, 255, 0.6),
            0 0 0 30px rgba(247, 253, 255, 0.4),
            0 0 0 40px rgba(247, 253, 255, 0.2);
    }

    .story-section {
        padding: 30px 15px;
    }

.story-container {
        margin-left: 40px;
        max-width: 95%;
        left: 0 !important;
    }

    .story-container::before {
        left: 0;
        transform: none;
    }

    .story-item {
        grid-template-columns: 55px 1fr !important; 
        gap: 15px;
        margin-bottom: 30px;
        direction: ltr !important;
    }

    .story-item:nth-child(odd) .story-year,
    .story-item:nth-child(even) .story-year {
        grid-column: 1 !important;
        font-size: 18px;
        justify-content: center;
        text-shadow: none;
    }

    .story-year::after {
        left: -28px !important;
        width: 12px;
        height: 12px;
        right: auto !important;
    }

    .story-item:nth-child(odd) .story-content,
    .story-item:nth-child(even) .story-content {
        grid-column: 2 !important;
        max-width: 260px;
        padding: 15px;
        text-align: left;
    }

    .story-content h3 {
        font-size: 18px;
    }

    .story-content p {
        font-size: 13px;
    }

    .achievements-grid{
        column-gap: 20px;
    }

.team-grid {
        grid-template-columns: 1fr 1fr !important; 
        gap: 15px;
        padding: 0 5px;
    }

    .team-card {
        text-align: center;
    }

    .team-image-container {
        height: 200px;;
    }

    .team-info .team-name {
        font-size: 16px;
    }

    .team-info .team-role, 
    .team-info .team-title {
        font-size: 12px;
    }
    .team-info{
        padding: 10px;
    }

    .team-bio {
        display: none;
    }

    .team-placeholder {
        font-size: 24px;
    }
}